package org.example.model;

public class JdbcInfo {

    private String type;

    private String url;

    private String ip;

    private String port;

    private String database;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    @Override
    public String toString() {
        return "JdbcInfo{" +
                "type='" + type + '\'' +
                ", url='" + url + '\'' +
                ", ip='" + ip + '\'' +
                ", port='" + port + '\'' +
                ", database='" + database + '\'' +
                '}';
    }
}
